<html>
<head>
<meta name="generator" content="PhpED Version 5.5 (Build 5517)">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>添加书签</title>
<link rel="stylesheet" rev="stylesheet" href="/qsf_mvc/app/views/css/cSite_common.css" type="text/css" media="screen" />
<link rel="stylesheet" rev="stylesheet" href="/qsf_mvc/app/views/css/style.css" type="text/css" media="screen" />
</head>
<body>
<div class="gbookBox">
	<form method="POST" id="form1" action="/qsf_mvc/index/index/add/" >
    <input type="hidden" name="qsf_db"  value="<{$db}>">    
    <input type="hidden" name="qsf_table"  value="<{$table}>">
	<div class="gbook-f">
	    <{foreach key=$k item=$v from=$add}>
           <{if $v['add'] == '1'}>
               <{if $v['form'] == 'select'}>
               <{$v['cnname']}>
               <select id="<{$v['enname']}>"  name="<{$v['enname']}>" style="width:100px">
                    <option value="0" selected="selected">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
               </select></br>
               <{elseif $v['form'] == 'textarea'}>
               <{$v['cnname']}><textarea  id="<{$v['enname']}>"    name="<{$v['enname']}>"  rows="5" cols="30"><{$v['default']}></textarea></br>             
               <{elseif $v['form'] == 'date'}>
               <{$v['cnname']}><input type="txt"  id="<{$v['enname']}>"    name="<{$v['enname']}>"  value="<{time()}>" /></br>                                                                                                                                
               <{else}>
               <{$v['cnname']}><input type="txt"  id="<{$v['enname']}>"    name="<{$v['enname']}>"  value="<{$v['default']}>" /></br>              
               <{/if}>
           <{/if}>
        <{/foreach}> 
		<div class="gbook-row">
			<div class="gbook-c">
				<span class="gbookBtn1"><input type="submit" name="submit" value="添加" /></span>
				<span class="gbookBtn2"><input type="reset" value="重填"  /></span>
			</div>
		</div>
	</div>
	</form>	
</div>
</body>
</html>



